// 1.引入express包
const express = require("express");
// 2.使用Router来创建路由
const router = express.Router();
// 3.引入控制器模块
const controller = require("../controllers/ctrNews");
router.get("/news_show", controller.news_show);
// router.get("/news_image", controller.news_image);
// router.get("/news_pro", controller.news_pro);
// router.get("/news_change", controller.news_change);
// router.get("/news_article/:id", controller.news_article);

// 暴露路由
module.exports = router;
